package com.yidu.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yidu.manage.domain.SysMenu;
import com.yidu.manage.domain.vo.RouterVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lsm
 * @since 2021-04-06
 */
public interface ITSysMenuService extends IService<SysMenu>
{
    List<SysMenu> selectMenuList(SysMenu menu);

    List<SysMenu> selectMenuTreeByUserId(Long userId);

    List<RouterVo> buildMenus(List<SysMenu> menus);
}
